<template>
  <div class="xxPage">
    <div>detail</div>

    <el-button type="primary" @click="toList">点击去list页面</el-button>
  </div>
</template>

<script>
export default {
  name: 'detailPage',
  components: {},
  props: {},
  data() {
    return {}
  },
  computed: {},
  watch: {},
  deactivated() {
    console.log('deactivated')
  },
  activated() {
    console.log('activated')
  },
  created() {},
  mounted() {},
  methods: {
    toList() {
      this.$emit('changeToKeep1', {
        type: 'list',
        params: {
          msg: 'is list',
        },
      })
    },
  },
}
</script>

<style scoped lang="scss">
.xxPage {
  // height: 100%;
}
</style>
